# @author: zsj
# @contact:940142834@qq.com
# @version: 1.0.0
# @license: Apache Licence
# @file: apsch_test.py.py
# @time: 2021/6/13 14:02
from apscheduler.schedulers.blocking import BlockingScheduler


import  datetime


def aps_test():
    print(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"))




schduler = BlockingScheduler()
schduler.add_job(func=aps_test,trigger="cron", second="*/5")
schduler.start()